CUSTOM Windows API .NET 1.08
Loading...
Searching...
No Matches
Custom.CuCustomWndAPI.PrintFontSettings Class Reference

Public Types

enum  FontSize : byte
 Print Text : Font scale. More...
 
enum  FontJustification : byte
 Print Text : text justification. More...
 
enum  FontType : byte
 Print Text : Font type. More...
 
enum  FontInternationalCharset : byte
 Print Text : Font international Charset. More...
 

Public Member Functions

 PrintFontSettings ()
 Default constructor.
 
override string ToString ()
 

Properties

PrintFontSettings.FontSize CharWidth [get, set]
 
PrintFontSettings.FontSize CharHeight [get, set]
 
PrintFontSettings.FontJustification Justification [get, set]
 
PrintFontSettings.FontType CharFontType [get, set]
 
PrintFontSettings.FontInternationalCharset InterCharSet [get, set]
 
byte LineSpacing [get, set]
 
bool Italic [get, set]
 
bool Emphasized [get, set]
 
bool Underline [get, set]
 
short PrintWidth [get, set]
 
short LeftMarginValue [get, set]
 
UInt32 Codepage [get, set]
 

Detailed Description

Print Font Settings

Member Enumeration Documentation

◆ FontInternationalCharset

Print Text : Font international Charset.

Enumerator
FONT_CS_DEFAULT 

Indicates that the International Charset is Default

◆ FontJustification

Print Text : text justification.

Enumerator
FONT_JUSTIFICATION_LEFT 

Indicates that the Font Justification is Left

FONT_JUSTIFICATION_CENTER 

Indicates that the Font Justification is Center

FONT_JUSTIFICATION_RIGHT 

Indicates that the Font Justification is Right

◆ FontSize

Print Text : Font scale.

Enumerator
FONT_SIZE_X1 

Indicates that the Font Size is 1X

FONT_SIZE_X2 

Indicates that the Font Size is 2X

FONT_SIZE_X3 

Indicates that the Font Size is 3X

FONT_SIZE_X4 

Indicates that the Font Size is 4X

FONT_SIZE_X5 

Indicates that the Font Size is 5X

FONT_SIZE_X6 

Indicates that the Font Size is 6X

FONT_SIZE_X7 

Indicates that the Font Size is 7X

FONT_SIZE_X8 

Indicates that the Font Size is 8X

◆ FontType

Print Text : Font type.

Note
Refer to the User Manual to verify the font supported by each device
Enumerator
FONT_TYPE_1 

Indicates that the Font 1

FONT_TYPE_2 

Indicates that the Font 2

FONT_TYPE_3 

Indicates that the Font 3

FONT_TYPE_4 

Indicates that the Font 4

FONT_TYPE_5 

Indicates that the Font 5

Member Function Documentation

◆ ToString()

override string Custom.CuCustomWndAPI.PrintFontSettings.ToString ( )
inline

Convert the Print Font Settings to a String

Property Documentation

◆ CharFontType

PrintFontSettings.FontType Custom.CuCustomWndAPI.PrintFontSettings.CharFontType
getset

◆ CharHeight

PrintFontSettings.FontSize Custom.CuCustomWndAPI.PrintFontSettings.CharHeight
getset

◆ CharWidth

PrintFontSettings.FontSize Custom.CuCustomWndAPI.PrintFontSettings.CharWidth
getset

◆ Codepage

UInt32 Custom.CuCustomWndAPI.PrintFontSettings.Codepage
getset

Specified codepage (set to 0 for the automatic selection)

Referenced by Custom.CuCustomWndAPI.PrintFontSettings.PrintFontSettings(), and Custom.CuCustomWndAPI.PrintFontSettings.ToString().

◆ Emphasized

bool Custom.CuCustomWndAPI.PrintFontSettings.Emphasized
getset

◆ InterCharSet

PrintFontSettings.FontInternationalCharset Custom.CuCustomWndAPI.PrintFontSettings.InterCharSet
getset

◆ Italic

bool Custom.CuCustomWndAPI.PrintFontSettings.Italic
getset

◆ Justification

PrintFontSettings.FontJustification Custom.CuCustomWndAPI.PrintFontSettings.Justification
getset

◆ LeftMarginValue

short Custom.CuCustomWndAPI.PrintFontSettings.LeftMarginValue
getset

◆ LineSpacing

byte Custom.CuCustomWndAPI.PrintFontSettings.LineSpacing
getset

◆ PrintWidth

short Custom.CuCustomWndAPI.PrintFontSettings.PrintWidth
getset

◆ Underline

bool Custom.CuCustomWndAPI.PrintFontSettings.Underline
getset